<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户列表</title>
</head>
<body>
<form action="__URL__/index" method="post">
	关键词：<input type="text" name="keywords" value="{$keyword}"/>
	查询类型：
	<select name="type">
		<option value="username">用户名</option>
		<option value="name">昵称</option>
		<option value="email">email</option>
	</select>
	<input type="submit" value="GO">
</form>
<table border="1" width="100%">
	<tr>
		<th>用户名</th><th>密码</th><th>昵称</th><th>email</th>
	</tr>
	<volist name="ulist" id="user" key="k">
		<tr>
			<td><a href="__URL__/edit/id/{$user.id}" >{$user.username}</a></td>
			<td>{$user.password}</td>
			<td>{$user.name}</td> 
			<td>{$user.email}</td>
		</tr>
	</volist>
</table>
<!-- 如果不用自定义标签的输出方法
<?php
	foreach($ulist as $user){
		echo $user['username']."</br>";
	}
?>
 -->

</body> 
</html>